package com.dcstudy.redis.entities;

/**
 * @author lichenyang
 * @create 2021-05-18 9:50 上午
 */

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

@NoArgsConstructor
@AllArgsConstructor
@Data
@ToString
@Getter
@Setter
@ApiModel(value = " 用户信息 ")
public class UserDTO implements Serializable {
    @ApiModelProperty(value = " 用户 ID")
    private Integer id;
    @ApiModelProperty(value = " 用户名 ")
    private String username;
    @ApiModelProperty(value = " 密码 ")
    private String password;
    @ApiModelProperty(value = " 性别 0= 女 1= 男 ")
    private Byte sex;
    @ApiModelProperty(value = " 删除标志，默认 0 不删除， 1 删除 ")
    private Byte deleted;
    @ApiModelProperty(value = " 更新时间 ")
    private Date updateTime;
    @ApiModelProperty(value = " 创建时间 ")
    private Date createTime;

}